package com.ray.ba.security.app.service;

import com.ray.ba.security.app.dto.AuthDto;
import com.ray.ba.security.app.dto.SecUserDto;

import java.util.Map;

/**
 * AuthService
 *
 * @author ray
 * @date 2020/4/6
 */

public interface AuthService {

    Map<String, Object> login(String username, String password);

    void logout();

    SecUserDto info();

    void registry(AuthDto dto);

}
